package com.canyou.oa.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 表单与表单项中间表
 * </p>
 *
 * @author canyou
 * @since 2021-07-05
 */
@Data
@TableName("oa_form_item")
@ApiModel(value="FormItem对象", description="表单与表单项中间表")
public class FormItem {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表单id")
    @TableField("form_id")
    private Long formId;

    @ApiModelProperty(value = "项目id")
    @TableField("item_id")
    private Long itemId;

    @ApiModelProperty(value = "排序值")
    @TableField("sort")
    private Integer sort;

}
